home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
rjs.lha
/
RJS
/
String
/
src
/
op_minus.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-06-14
|
539b
|
34 lines
#include "String.h"
RJS_String RJS_String::operator-(int len) const
{
RJS_String temp(*this);
return temp-=len;
}
RJS_String RJS_String::operator-(char ch) const
{
RJS_String temp(*this);
return temp-= ch;
}
RJS_String RJS_String::operator-(const char *s) const
{
RJS_String temp(*this);
return temp-=s;
}
RJS_String RJS_String::operator-(const RJS_String &s) const
{
RJS_String temp(*this);
return temp-=s;
}
RJS_String RJS_String::operator-(const RJS_StringSearch &ss) const
{
RJS_String temp(*this);
return temp-=ss;
}